<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="all" />
<TITLE>RBAC角色管理</TITLE>
<link rel='stylesheet' type='text/css' href='/__08KT_TMS/rbac/Tpl/default/Public/css/style.css' />
<script language='JavaScript' src='/__08KT_TMS/rbac/Tpl/default/Public/js/Common.js'></script> 
<script language='JavaScript' src='/__08KT_TMS/rbac/Tpl/default/Public/js/prototype.js'></script> 
<SCRIPT LANGUAGE="JavaScript">
//指定当前组模块URL地址
var URL = '/__08KT_TMS/rbac/index.php/Group';
var APP	 =	 '/__08KT_TMS/rbac/index.php';
var PUBLIC = '/__08KT_TMS/Public';
</SCRIPT>
</HEAD>
<body>
<!-- 头部区域 -->
<div id="header" class="header">
<div class="headTitle" style="margin:8pt 10pt">RBAC角色管理</div>
</div>
<!-- 菜单区域  -->
<div id="menu" class="menu"><div class="list" >
<table class="list shadow" cellpadding=0 cellspacing=0 >
<tr>
	<td height='5' colspan=7 class="toptd" ></td>
</tr>
<tr class="row" >
	<th class="tcenter space"><img src="/__08KT_TMS/rbac/Tpl/default/Public/images/gohome.gif" width="15" height="14" border="0" alt="" align="absmiddle"> 模块导航 </th>
</tr>

<tr class="row " >
	<td><img src="/__08KT_TMS/rbac/Tpl/default/Public/images/comment.gif" width="9" height="9" border="0" align="absmiddle" alt=""> <a href="/__08KT_TMS/rbac/index.php/Node/index/">项目节点管理</a></td>
</tr>
<tr class="row " >
	<td><img src="/__08KT_TMS/rbac/Tpl/default/Public/images/comment.gif" width="9" height="9" border="0" align="absmiddle" alt=""> <a href="/__08KT_TMS/rbac/index.php/Group/index/">角色权限管理</a></td>
</tr>
<tr>
	<td height='5' colspan=7 class="bottomtd"></td>
</tr>
</table>
</div></div>
<!-- 主页面开始 -->
<div id="main" class="main" >

<!-- 主体内容  -->
<div class="content" >
<div class="title">组列表</div>
<!--  功能组区域  -->
<div class="operate" >
<div class="impBtn hMargin fLeft shadow" ><INPUT TYPE="button" id="" name="add" value="新增" onclick="add()" class="add imgButton"></div>
<div class="impBtn hMargin fLeft shadow" ><INPUT TYPE="button" id="" name="edit" value="编辑" onclick="edit()" class="edit imgButton"></div>
<div class="impBtn hMargin fLeft shadow" ><INPUT TYPE="button" id="" name="delete" value="删除" onclick="del()" class="delete imgButton"></div>
</div>
<!-- 功能组区域结束 -->
<p>&nbsp;</p>
<!-- 列表显示区域  -->
<div class="list" >
<div id="result" class="result none"></div><!-- Think 系统列表组件开始 -->
<TABLE id="checkList" class="list" cellpadding=0 cellspacing=0 ><tr><td height="5" colspan="7" class="topTd" ></td></tr><TR class="row" ><th width="8"><input type="checkbox" id="check" onclick="CheckAll('checkList')"></th><Th><A HREF="javascript:sortBy('id','<?php echo $sort ?>','index')" title="按照编号<?php echo $sortType ?> ">编号<?php if(($order)  ==  "id"): ?><IMG SRC="/__08KT_TMS/rbac/Tpl/default/Public/Images/<?php echo $sortImg ?>.gif" WIDTH="12" HEIGHT="17" BORDER="0" align="absmiddle"><?php endif; ?></A></Th><Th><A HREF="javascript:sortBy('name','<?php echo $sort ?>','index')" title="按照组名<?php echo $sortType ?> ">组名<?php if(($order)  ==  "name"): ?><IMG SRC="/__08KT_TMS/rbac/Tpl/default/Public/Images/<?php echo $sortImg ?>.gif" WIDTH="12" HEIGHT="17" BORDER="0" align="absmiddle"><?php endif; ?></A></Th><Th><A HREF="javascript:sortBy('parentId','<?php echo $sort ?>','index')" title="按照上级组<?php echo $sortType ?> ">上级组<?php if(($order)  ==  "parentId"): ?><IMG SRC="/__08KT_TMS/rbac/Tpl/default/Public/Images/<?php echo $sortImg ?>.gif" WIDTH="12" HEIGHT="17" BORDER="0" align="absmiddle"><?php endif; ?></A></Th><Th><A HREF="javascript:sortBy('status','<?php echo $sort ?>','index')" title="按照状态<?php echo $sortType ?> ">状态<?php if(($order)  ==  "status"): ?><IMG SRC="/__08KT_TMS/rbac/Tpl/default/Public/Images/<?php echo $sortImg ?>.gif" WIDTH="12" HEIGHT="17" BORDER="0" align="absmiddle"><?php endif; ?></A></Th><Th><A HREF="javascript:sortBy('remark','<?php echo $sort ?>','index')" title="按照描述<?php echo $sortType ?> ">描述<?php if(($order)  ==  "remark"): ?><IMG SRC="/__08KT_TMS/rbac/Tpl/default/Public/Images/<?php echo $sortImg ?>.gif" WIDTH="12" HEIGHT="17" BORDER="0" align="absmiddle"><?php endif; ?></A></Th><th >操作</th></TR><?php if(isset($list)): ?><?php $i = 0; ?><?php if( count($list)==0 ) echo "" ?><?php foreach($list as $key=>$action): ?><?php ++$i;?><?php $mod = (($i % 2 )==0)?><TR class="row" onmouseover="over()" onmouseout="out()" onclick="change()" ><td><input type="checkbox" name="key"	value="<?php echo is_array($action)?$action["id"]:$action->id ?>"></td><TD><?php echo is_array($action)?$action["id"]:$action->id ?></TD><TD><a href="javascript:edit('<?php echo is_array($action)?$action["id"]:$action->id ?>')"><?php echo is_array($action)?$action["name"]:$action->name ?></a></TD><TD><?php echo getGroupName(is_array($action)?$action["parentId"]:$action->parentId) ?></TD><TD><?php echo getStatus(is_array($action)?$action["status"]:$action->status) ?></TD><TD><?php echo is_array($action)?$action["remark"]:$action->remark ?></TD><TD><A HREF="javascript:app('<?php echo is_array($action)?$action["id"]:$action->id ?>')">授权</A> <A HREF="javascript:user('<?php echo is_array($action)?$action["id"]:$action->id ?>')">用户列表</A> </TD></TR><?php endforeach; ?><?php endif; ?><tr><td height="5" colspan="7" class="bottomTd"></td></tr></TABLE>
<!-- Think 系统列表组件结束 -->
 
</div>
<!--  分页显示区域 -->
<div class="page"><?php echo $page ?></div>
<!-- 列表显示区域结束 -->
</div>
<!-- 主体内容结束 -->


</div>
<div id="footer" class="footer">
Copyright &reg; 2007 Sof Studio All Rights Reserved.</div>
</BODY>
</HTML>